/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package memory;

import java.util.ArrayList;

/**
 *
 * @author Erdiansyah
 */
public class SubCategory {

    private String subcategoryname;
    private String subcategorycode;

    SubCategory(String cn, String cc) {
        subcategoryname = cn;
        subcategorycode = cc;
    }

    public String getSubcategorycode() {
        return subcategorycode;
    }

    public void setSubcategorycode(String subcategorycode) {
        this.subcategorycode = subcategorycode;
    }

    public String getSubcategoryname() {
        return subcategoryname;
    }

    public void setSubcategoryname(String subcategoryname) {
        this.subcategoryname = subcategoryname;
    }
}
